tabBarStyle = """
QTabWidget {
    background: #EFE9E4;
}

QTabWidget::pane {
    border: 1px solid #D4BFAF;
    background: #F8F4F0;
    border-radius: 6px;
    margin: 2px;
}

/* TabBar靠左 */
QTabWidget::tab-bar {
    alignment: left;
    padding: 4px;
}

/* 丝绸磨砂质感：柔光渐变（主色） */
QTabBar::tab {
    background: qlineargradient(
        x1:0, y1:0, x2:1, y2:1,
        stop:0 #F4ECE5,
        stop:0.45 #EBDFD6,
        stop:1 #DECCBF
    );
    color: #6D4C41;
    border: 1.8px solid #BB9A89;
    border-radius: 7px;
    min-width: 90px;
    min-height: 54px;
    font-size: 9.5pt;
    font-weight: 500;
    padding: 8px 6px 2px;
    margin: 5px 3px;
    qproperty-iconSize: 22px;
}

/* 图标与文字对齐 */
QTabBar::tab::icon {
    alignment: Top Center;
    margin-bottom: 4px;
}
QTabBar::tab::text {
    alignment: Bottom Center;
}

/* Hover：丝绸柔光提亮 + 低对比投影 */
QTabBar::tab:hover {
    background: qlineargradient(
        x1:0, y1:0, x2:1, y2:1,
        stop:0 #EDE2D9,
        stop:0.45 #E2D3C9,
        stop:1 #D3BDAF
    );
    color: #5B3E34;
    border-color: #A68673;
    box-shadow: 0 2px 4px rgba(160, 130, 112, 0.25);
}

/* Selected：丝绸深色柔光 + 轻微亮部 */
QTabBar::tab:selected {
    background: qlineargradient(
        x1:0, y1:0, x2:1, y2:1,
        stop:0 #C5A38F,
        stop:0.45 #AD8874,
        stop:1 #8A6A57
    );
    color: white;
    border-color: #7B5C4C;
    font-weight: 600;
    box-shadow: 0 0 6px rgba(150, 120, 100, 0.45);
}

/* 未选中维持下边线 */
QTabBar::tab:not(:selected) {
    border-bottom: 2px solid #D4BFAF;
}

/* Disabled */
QTabBar::tab:disabled {
    background: #F0E8E2;
    color: #B7A79C;
    border-color: #D9C9C1;
}
"""
